#ifndef _TASKOSD__H
#define _TASKOSD__H


#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "semphr.h"
#include  "exti.h"
#include "string.h"
#include "font.h"
#include "usart2.h"
#include "Motor.h"

extern TaskHandle_t OSDTask_Handler;
extern QueueHandle_t OsdRefresh_Sem;
extern QueueHandle_t Osd_ClearScreen_QueueHandle;
extern QueueHandle_t ForewardReverse_QueueHandle;
extern QueueHandle_t Photo_QueueHandle;
extern QueueHandle_t Cursor_QueueHandle;
extern QueueHandle_t Distance_QueueHandle;//激光测距
extern QueueHandle_t Zoom_QueueHandle;
extern QueueHandle_t Laser_QueueHandle;
void task_OSD_Create(void);

void OsdMenu(void);

extern int CompassStartMeasure(void);

#endif

